home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / ViePratique / gnucash / gnucash-2.6.5-setup.exe / {app} / share / themes / Nodoka-Rounded / gtk-2.0 / gtkrc
Text File  |  2008-11-01  |  8KB  |  300 lines

  1. # Fedora Nodoka gtkrc, based on Aqualooks
  2. #
  3. # Authors:
  4. # Daniel Geiger <dgeiger_343@yahoo.com>
  5. # Martin Sourada <martin.sourada@seznam.cz>
  6. #
  7. # Uses the Nodoka theme engine, forked from Murrine theme engine
  8.  
  9. gtk_color_scheme = "fg_color:#000000\nbg_color:#ECE9E9\nbase_color:#ffffff\ntext_color:#000000\nselected_bg_color:#008DD7\nselected_fg_color:#ffffff\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000"
  10.  
  11. style "fedora-default"
  12. {
  13.  
  14.     GtkButton::default_border    = { 0, 0, 0, 0 }
  15.     GtkButton::child-displacement-x    = 0
  16.     GtkButton::child-displacement-y    = 1
  17.  
  18.     GtkRange::trough_border        = 0
  19.     GtkRange::slider_width        = 14
  20.     GtkRange::stepper_size        = 14
  21.       GtkRange::stepper_spacing    = 0
  22.  
  23.     GtkScale::slider-length        = 28
  24.  
  25.     GtkPaned::handle_size        = 6
  26.  
  27.     GtkScrollbar::min_slider_length    = 40
  28.     GtkCheckButton::indicator_size    = 13
  29.       GtkRadioButton::indicator_size    = 13
  30.     GtkMenuBar::internal-padding    = 0
  31.     GtkTreeView::expander_size    = 14
  32.     GtkExpander::expander_size    = 16
  33.  
  34.     xthickness            = 1
  35.     ythickness            = 1
  36.  
  37.     fg[NORMAL]            = @fg_color
  38.     fg[PRELIGHT]            = @fg_color
  39.     fg[ACTIVE]            = @fg_color
  40.     fg[SELECTED]            = @selected_fg_color
  41.     fg[INSENSITIVE]            = shade (0.7019, @selected_fg_color)
  42.  
  43.     bg[NORMAL]            = @bg_color
  44.     bg[PRELIGHT]            = shade (1.0346, @bg_color)
  45.     bg[ACTIVE]            = shade (0.9437, @bg_color)
  46.     bg[SELECTED]            = @selected_bg_color
  47.     bg[INSENSITIVE]            = shade (0.9437, @bg_color)
  48.  
  49.     base[NORMAL]            = @base_color
  50.     base[PRELIGHT]            = shade (0.3967, @base_color)
  51.     base[ACTIVE]            = shade (0.52, @selected_fg_color)
  52.     base[SELECTED]            = @selected_bg_color
  53.     base[INSENSITIVE]        = shade (0.9437, @bg_color)
  54.  
  55.     text[NORMAL]            = @text_color
  56.     text[PRELIGHT]            = @text_color
  57.     text[ACTIVE]            = @selected_fg_color
  58.     text[SELECTED]            = @selected_fg_color
  59.     text[INSENSITIVE]        = darker (@selected_fg_color)
  60.  
  61.     engine "nodoka"
  62.     {
  63. #        scrollbar_color        = shade (1.040897799, "#008DD7")
  64.         animation        = TRUE # FALSE = disabled, TRUE = enabled
  65. #        contrast        = 1.0
  66. #        gradients        = FALSE
  67. #        hilight_ratio        = 0.909090909
  68.         listviewheaderstyle    = 1 # 0 = flat, 1 = gradient, 2 = raised
  69.         listviewstyle        = 1 # 0 = nothing, 1 = dotted
  70.         menubarstyle        = 3 # 0 = flat, 1 = normal raised gradient, 2 = normal lowered gradient, 3 = menubar gradient
  71.         toolbarstyle        = 2 # 0 = flat, 1 = normal raised gradient, 2 = normal lowered gradient, 3 = menubar gradient
  72.         roundness        = 6 # 0 = squared, 1 = old default, more will increase roundness
  73.         scrollbarstyle        = 1 # 0 = nothing, 1 = circles, 2 = bars
  74.         stripes            = TRUE # enable or disable stripes in progressbars
  75.         bullet_color        = "#005DC2"
  76.         focus_fill        = TRUE # enable or disable focus overlay fill
  77.         focus_inner        = FALSE    # TRUE = secondary focus ring inside, FALSE = secondary focus ring outside widgets
  78.     }
  79.  
  80. }
  81.  
  82. # Evolution (and some deprecated widgets) use bg and fg for its listview instead of 
  83. # base and text like they should, so we override it.
  84. style "evolution-hack" = "fedora-default"
  85. {    
  86.     bg[ACTIVE]    = @bg_color
  87. }
  88.  
  89. style "evolution-hack-tree" = "fedora-default"
  90. {    
  91.     bg[ACTIVE]    = shade (0.8, @bg_color)
  92.     bg[SELECTED]    = shade (1.040897799, @selected_bg_color)
  93.     fg[ACTIVE]    = @text_color
  94.     fg[SELECTED]    = @selected_fg_color
  95. }
  96.  
  97. style "fedora-bright" = "fedora-default"
  98. {
  99.     bg[SELECTED]    = shade (1.040897799, @selected_bg_color)
  100. }
  101.  
  102.  
  103. style "fedora-wide" = "fedora-default"
  104. {
  105.     xthickness    = 2
  106.     ythickness    = 2
  107. }
  108.  
  109. style "fedora-wide-bright" = "fedora-wide"
  110. {
  111.     bg[SELECTED]    = shade (1.040897799, @selected_bg_color)
  112. }
  113.  
  114. style "fedora-wider" = "fedora-default"
  115. {
  116.     xthickness    = 3
  117.     ythickness    = 3
  118. }
  119.  
  120. style "fedora-wider-bright" = "fedora-wider"
  121. {
  122.     bg[SELECTED]    = shade (1.040897799, @selected_bg_color)
  123. }
  124.  
  125. style "fedora-button" = "fedora-wider"
  126. {
  127.     bg[NORMAL]   =  shade (1.02,@bg_color)
  128.      bg[ACTIVE]   =  shade (0.85,@bg_color)
  129.     bg[PRELIGHT] =  mix(0.90, shade (1.05,@bg_color), @selected_bg_color)
  130. }
  131.  
  132. style "fedora-notebook" = "fedora-wide-bright"
  133. {
  134.     bg[ACTIVE]       = shade (0.80, @bg_color)
  135.       bg[INSENSITIVE] = shade (0.9221, @bg_color)
  136.       bg[NORMAL]      = shade (1.0346, @bg_color)
  137.     bg[PRELIGHT]     = lighter (@bg_color)
  138. }
  139.  
  140. style "fedora-menubar" = "fedora-default"
  141. {
  142. #    bg[NORMAL]    = mix (0.8, lighter(@bg_color), shade(1.040897799, @selected_bg_color))
  143. #    bg[NORMAL]    = shade (1.02, @bg_color)
  144. }
  145.  
  146. style "fedora-panel-menubar" = "fedora-menubar"
  147. {
  148.     fg[PRELIGHT]    = @selected_fg_color
  149.     text[PRELIGHT]    = @selected_fg_color
  150. }
  151.  
  152. style "fedora-menu" = "fedora-default"
  153. {
  154.     xthickness    = 2
  155.  
  156.     bg[NORMAL]    = @base_color
  157. }
  158.  
  159. style "fedora-menu-item" = "fedora-default"
  160. {
  161.     xthickness    = 3
  162.     ythickness    = 3
  163.  
  164.     bg[PRELIGHT]    = @bg_color
  165.     bg[SELECTED]    = shade (0.9, @selected_bg_color)
  166.     fg[PRELIGHT]    = @selected_fg_color
  167.     text[PRELIGHT]    = @selected_fg_color
  168. }
  169.  
  170. style "fedora-tree" = "fedora-wide"
  171. {
  172.     bg[ACTIVE]    = shade (0.9, @bg_color)
  173. }
  174.  
  175. style "fedora-frame-title" = "fedora-default"
  176. {
  177.     fg[NORMAL]    = lighter (@fg_color)
  178. }
  179.  
  180. style "fedora-tooltips"
  181. {
  182.     xthickness    = 4
  183.     ythickness    = 4
  184.  
  185.     bg[NORMAL]    = @tooltip_bg_color
  186.     fg[NORMAL]    = @tooltip_fg_color
  187. }
  188.  
  189. style "fedora-progressbar" = "fedora-wide-bright"
  190. {
  191.       bg[NORMAL]      = shade (0.80, @bg_color)
  192.       bg[SELECTED]    = @selected_bg_color
  193.     fg[PRELIGHT]    = shade(1.1946, @selected_fg_color)
  194. }
  195.  
  196. style "fedora-combo" = "fedora-button"
  197. {
  198. }
  199.  
  200. style "fedora-status" = "fedora-wide"
  201. {
  202.     GtkStatusbar    ::shadow-type    = GTK_SHADOW_IN
  203. }
  204.  
  205. style "fedora-entry" = "fedora-button"
  206. {
  207. }
  208.  
  209. style "fedora-scrollbar" = "fedora-button"
  210. {
  211.     text[NORMAL]        = shade (0.2, @bg_color)
  212.     text[PRELIGHT]        = shade (0.2, @bg_color)
  213.     text[ACTIVE]        = @text_color
  214. }
  215.  
  216. style "fedora-scale" = "fedora-button"
  217. {
  218.  
  219.     GtkRange    ::trough-side-details    = 0
  220.     GtkRange    ::slider_width        = 16
  221.  
  222.     bg[SELECTED]    = shade (1.1, @selected_bg_color)
  223.     fg[PRELIGHT]    = shade(1.1946, @selected_fg_color)
  224. }
  225.  
  226. style "fedora-checkbutton" = "fedora-button"
  227. {
  228.     bg[PRELIGHT]    = @bg_color
  229. }
  230.  
  231. style "fedora-spin-button" = "fedora-entry"
  232. {
  233. }
  234.  
  235. # widget styles
  236. class "GtkWidget"    style "fedora-default"
  237. class "GtkButton"    style "fedora-button"
  238. class "GtkCombo"    style "fedora-combo"
  239. class "GtkRange"    style "fedora-wide-bright"
  240. class "GtkFrame"    style "fedora-wide"
  241. class "GtkMenu"        style "fedora-menu"
  242. class "GtkEntry"    style "fedora-entry"
  243. class "GtkMenuItem"    style "fedora-menu-item"
  244. class "GtkNotebook"    style "fedora-notebook"
  245. class "GtkProgressBar"    style "fedora-progressbar"
  246. class "GtkMenuBar"    style "fedora-menubar"
  247. class "GtkStatusbar"    style "fedora-status"
  248. class "GtkScrollbar"    style "fedora-scrollbar"
  249. class "GtkHBox"        style "fedora-wider"
  250. class "GtkScale"    style "fedora-scale"
  251. class "GtkCheckButton"    style "fedora-checkbutton"
  252. class "GtkSpinButton"    style "fedora-spin-button"
  253.  
  254. widget_class "*MenuItem.*"        style "fedora-menu-item"
  255.  
  256. # combobox stuff
  257. widget_class "*.GtkComboBox.GtkButton"    style "fedora-combo"
  258. widget_class "*.GtkCombo.GtkButton"    style "fedora-combo"
  259. widget_class "*.GtkComboBox.GtkFrame"    style "fedora-wider"
  260.  
  261. # tooltips stuff
  262. widget "gtk-tooltip*"            style "fedora-tooltips"
  263.  
  264. # treeview stuff
  265. widget_class "*.GtkTreeView.GtkButton"    style "fedora-tree"
  266. widget_class "*.GtkCTree.GtkButton"    style "fedora-tree"
  267. widget_class "*.GtkList.GtkButton"    style "fedora-tree"
  268. widget_class "*.GtkCList.GtkButton"    style "fedora-tree"
  269. widget_class "*.GtkFrame.GtkLabel"    style "fedora-frame-title"
  270.  
  271. # notebook stuff
  272. widget_class "*.GtkNotebook.*.GtkEventBox"    style "fedora-notebook"
  273. widget_class "*.GtkNotebook.*.GtkViewport"    style "fedora-notebook"
  274. widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "fedora-notebook"
  275. widget_class "*<GtkNotebook>*<GtkLayout>"       style "fedora-notebook"
  276.  
  277. # these should really use base and text colors instead
  278. widget_class "*GtkCTree*"    style "evolution-hack-tree"
  279. widget_class "*GtkList*"    style "evolution-hack-tree"
  280. widget_class "*GtkCList*"    style "evolution-hack-tree"
  281. widget_class "*.ETree.*"    style "evolution-hack-tree"
  282. widget_class "*EInfoLabel*"    style "evolution-hack"
  283.  
  284. #panel bg hack
  285. widget "*Panel*Menu*"        style "fedora-panel-menubar"
  286.  
  287. #evolution new button workaround (should be fixed in Evo 2.24)
  288. style "fedora-evo-new-button-workaround"
  289. {
  290.     engine "nodoka"
  291.     {
  292.         toolbarstyle = 0
  293.     }
  294. }
  295.  
  296. widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "fedora-evo-new-button-workaround"
  297.  
  298. widget_class "*.<GtkProgress>"       style "fedora-progressbar"
  299.  
  300.